package archer.application.elastic.mock.core.entity.user;

import archer.framework.common.entity.ActiveRecordEntity;

import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
import javax.persistence.Inheritance;

/**
 * @author christ
 * @date 2016/6/7
 */
@Entity
@Inheritance
@DiscriminatorValue("CLIENT")
public class Client extends User {

    public static final ActiveRecordEntity.Find<Client> find = new ActiveRecordEntity.Find<Client>(Client.class);

    private String bankCard;

    public String getBankCard() {
        return bankCard;
    }

    public Client setBankCard(String bankCard) {
        this.bankCard = bankCard;
        return this;
    }
}
